Skip to content

Add per-user Cargo token authentication#40

Open
aKlimau wants to merge 1 commit into
pulp:mainfrom
aKlimau:add-auth
Open

Add per-user Cargo token authentication#40
aKlimau wants to merge 1 commit into
pulp:mainfrom
aKlimau:add-auth

Conversation

@aKlimau

@aKlimau aKlimau commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Replaces the hardcoded stub token with per-user Cargo token authentication. Users create tokens via the REST API (POST /api/v3/cargo/tokens/), then use them with cargo login / cargo publish / cargo yank as normal. Tokens are stored as SHA-256 hashes and scoped to the requesting user.

closes #24

@aKlimau
aKlimau marked this pull request as draft July 8, 2026 15:40
@aKlimau
aKlimau force-pushed the add-auth branch 4 times, most recently from 70620da to f23fca6 Compare July 14, 2026 12:30
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@aKlimau
aKlimau marked this pull request as ready for review July 15, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Cargo Authentication / Authorization protocols

1 participant